package com.ruoyi.web.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.HashMap;
import java.util.Map;


/**
 * 城市区域省市实体类
 */
@TableName("dict")
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Region {

    @TableId(type = IdType.AUTO)
    private int id;

    private int parentId;

    private String name;

    private int cases;

    private int cures;

    private int death;

    private int added;

    private int state;

    @TableField(exist = false)
    private Map<String,Object> param = new HashMap<>();



}
